import { defineStore } from "pinia";
import { ref, reactive, computed } from "vue";
const orderStore = defineStore("order", () => {
  const orderData = reactive([
    {
      orderId: "5556224520",
      time: "2019-05-13 15:59:28",
      name: "24/YM",
      title: "[限量抢购卖疯了]蒸蛋煮蛋神器热牛",
      num: "1件",
      pay: "38.9元",
      imageUrl: "./src/images/shop.png",
      income: "1.98元",
      status: "待发货",
      settlement: "待结算",
      freight: "8元",
      buyers: {
        id: "66",
        name: "易烊千玺",
        phone: "18286653383",
        vnum: "a3214354",
        time: "2019-08-23",
        buynum: "1件",
        expend: "35.00元",
        place: "贵州省贵阳市云岩区物质大厦",
      },
    },
    {
      orderId: "5556224520",
      time: "2019-05-13 15:59:28",
      name: "48/YZ",
      title: "[限量抢购卖疯了]蒸蛋煮蛋神器热牛",
      num: "1件",
      pay: "38.9元",
      imageUrl: "./src/images/shop.png",
      income: "1.98元",
      status: "待发货",
      settlement: "待结算",
      freight: "5元",
      buyers: {
        id: "65",
        name: "易烊千玺",
        phone: "18286653383",
        vnum: "a3214354",
        time: "2019-08-23",
        buynum: "1件",
        expend: "35.00元",
        place: "贵州省贵阳市花溪区理工学院",
      },
    },

    {
      orderId: "5556224520",
      freight: "5元",
      time: "2019-05-13 15:59:28",
      name: "281/Y1",
      title: "[限量抢购卖疯了]蒸蛋煮蛋神器热牛",
      num: "1件",
      pay: "38.9元",
      imageUrl: "./src/images/shop.png",
      income: "1.98元",
      status: "已失效",
      settlement: "待结算",
      buyers: {
        id: "64",
        name: "易烊千玺",
        phone: "18286653383",
        vnum: "a3214354",
        time: "2019-08-23",
        buynum: "1件",
        expend: "35.00元",
        place: "贵州省贵阳市花溪区民的学校",
      },
    },

    {
      orderId: "5556224520",
      time: "2019-05-13 15:59:28",
      freight: "6元",
      name: "21/TZ",
      title: "[限量抢购卖疯了]蒸蛋煮蛋神器热牛",
      num: "1件",
      pay: "38.9元",
      imageUrl: "./src/images/shop.png",
      income: "1.98元",
      status: "待发货",
      settlement: "待结算",
      buyers: {
        id: "63",
        name: "易烊千玺",
        phone: "18286653383",
        vnum: "a3214354",
        time: "2019-08-23",
        buynum: "1件",
        expend: "35.00元",
        place: "贵州省贵阳市花溪区贵州大学",
      },
    },

    {
      orderId: "5556224520",
      time: "2019-05-13 15:59:28",
      freight: "8元",
      name: "280/TSZ",
      title: "[限量抢购卖疯了]蒸蛋煮蛋神器热牛",
      num: "1件",
      pay: "38.9元",
      imageUrl: "./src/images/shop.png",
      income: "1.98元",
      status: "已失效",
      settlement: "待结算",
      buyers: {
        id: "62",
        name: "易烊千玺",
        phone: "18286653383",
        vnum: "a3214354",
        time: "2019-08-23",
        buynum: "1件",
        expend: "35.00元",
        place: "贵州省贵阳市花溪区贵州财经大学",
      },
    },

    {
      orderId: "5556224520",
      time: "2019-05-13 15:59:28",
      freight: "4元",
      name: "30/SY",
      title: "[限量抢购卖疯了]蒸蛋煮蛋神器热牛",
      num: "1件",
      pay: "38.9元",
      imageUrl: "./src/images/shop.png",
      income: "1.98元",
      status: "待发货",
      settlement: "待结算",
      buyers: {
        id: "61",
        name: "易烊千玺",
        phone: "18286653383",
        vnum: "a3214354",
        time: "2019-08-23",
        buynum: "1件",
        expend: "35.00元",
        place: "贵州省贵阳市花溪区贵阳人文科技学院",
      },
    },

    {
      orderId: "5556224520",
      time: "2019-05-13 15:59:28",
      freight: "7元",
      name: "43/NJ",
      title: "[限量抢购卖疯了]蒸蛋煮蛋神器热牛",
      num: "1件",
      pay: "38.9元",
      imageUrl: "./src/images/shop.png",
      income: "1.98元",
      status: "待发货",
      settlement: "待结算",
      buyers: {
        id: "60",
        name: "易烊千玺",
        phone: "18286653383",
        vnum: "a3214354",
        time: "2019-08-23",
        buynum: "1件",
        expend: "35.00元",
        place: "贵州省贵阳市花溪区贵州民族大学",
      },
    },

    {
      orderId: "5556224520",
      time: "2019-05-13 15:59:28",
      freight: "6元",
      name: "43/IYZ",
      title: "[限量抢购卖疯了]蒸蛋煮蛋神器热牛",
      num: "1件",
      pay: "38.9元",
      imageUrl: "./src/images/shop.png",
      income: "1.98元",
      status: "待发货",
      settlement: "待结算",
      buyers: {
        id: "59",
        name: "易烊千玺",
        phone: "18286653383",
        vnum: "a3214354",
        time: "2019-08-23",
        buynum: "1件",
        expend: "35.00元",
        place: "贵州省铜仁市松桃县育才社区",
      },
    },

    {
      orderId: "5556224520",
      time: "2019-05-13 15:59:28",
      freight: "12元",
      name: "53/VF",
      title: "[限量抢购卖疯了]蒸蛋煮蛋神器热牛",
      num: "1件",
      pay: "38.9元",
      imageUrl: "./src/images/shop.png",
      income: "1.98元",
      status: "待发货",
      settlement: "待结算",
      buyers: {
        id: "58",
        name: "易烊千玺",
        phone: "18286653383",
        vnum: "a3214354",
        time: "2019-08-23",
        buynum: "1件",
        expend: "35.00元",
        place: "贵州省贵阳市白云区花果园9栋4楼410",
      },
    },
  ]);
  return { orderData };
});
export default orderStore;
